package leesoft.data.databeans;
import java.util.HashMap;
import java.util.Map;

public class AnalyzingItem {
	String name;
	String unitId;
	int totalNumber;
	int yinXing; //yin xing
	int xibaoxueYangXing;//abnormal
	
	//analyzing item for details
	
	
	Map<String,Integer> aItemValues=new HashMap<String,Integer>();
	

	public void setValues(int all,int allYin,int cellYang){
		this.totalNumber=all;
		this.yinXing=allYin;
		this.xibaoxueYangXing=cellYang;
	}
	public AnalyzingItem(String name,String unitId){
		this.name=name;
		this.unitId=unitId;
		this.totalNumber=0;
		this.yinXing=0;
		this.xibaoxueYangXing=0;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getTotalNumber() {
		return totalNumber;
	}
	public void setTotalNumber(int totalNumber) {
		this.totalNumber = totalNumber;
	}

	public String getUnitId() {
		return unitId;
	}

	public void setUnitId(String unitId) {
		this.unitId = unitId;
	}
	public Map<String, Integer> getAItemValues() {
		return aItemValues;
	}
	public void setAItemValues(Map<String, Integer> itemValues) {
		aItemValues = itemValues;
	}
	public int getYinXing() {
		return yinXing;
	}
	public void setYinXing(int yinXing) {
		this.yinXing = yinXing;
	}
	public int getXibaoxueYangXing() {
		return xibaoxueYangXing;
	}
	public void setXibaoxueYangXing(int xibaoxueYangXing) {
		this.xibaoxueYangXing = xibaoxueYangXing;
	}

}
